using System;
using System.Collections.Generic;
using System.Text;

namespace EZCRS.HCMS.Entity
{
    public class hfg_levelsetup
    {
        private int? _id;
        private int? _orgid;
        private byte _orgtype;
        private string _lvlname = String.Empty;
        private string _lvlimg = String.Empty;
        private int? _startscore;
        private int? _endscore;
        private int? _days;
        private int? _hotels;
        private string _lvlcomment = String.Empty;
        private string _inuser = String.Empty;
        private DateTime? _indate;
        private int? _lvlcount;
        private byte _levelclass;

        public hfg_levelsetup()
        {
        }

       

        //protected void LoadFromReader(SqlDataReader reader)
        //{
        //    if (reader != null && !reader.IsClosed)
        //    {
        //        _id = reader.GetInt32(0);
        //        if (!reader.IsDBNull(1)) _orgid = reader.GetInt32(1);
        //        if (!reader.IsDBNull(2)) _orgtype = reader.GetByte(2);
        //        if (!reader.IsDBNull(3)) _lvlname = reader.GetString(3);
        //        if (!reader.IsDBNull(4)) _lvlimg = reader.GetString(4);
        //        if (!reader.IsDBNull(5)) _startscore = reader.GetInt32(5);
        //        if (!reader.IsDBNull(6)) _endscore = reader.GetInt32(6);
        //        if (!reader.IsDBNull(7)) _days = reader.GetInt32(7);
        //        if (!reader.IsDBNull(8)) _hotels = reader.GetInt32(8);
        //        if (!reader.IsDBNull(9)) _lvlcomment = reader.GetString(9);
        //        if (!reader.IsDBNull(10)) _inuser = reader.GetString(10);
        //        if (!reader.IsDBNull(11)) _indate = reader.GetDateTime(11);
        //        if (!reader.IsDBNull(12)) _lvlcount = reader.GetInt32(12);
        //        if (!reader.IsDBNull(13)) _levelclass = reader.GetByte(13);
        //    }
        //}

       

        #region Public Properties
        public int? Id
        {
            get { return _id; }
            set { _id = value; }
        }

        public int? orgid
        {
            get { return _orgid; }
            set { _orgid = value; }
        }

        public byte orgtype
        {
            get { return _orgtype; }
            set { _orgtype = value; }
        }

        public string lvlname
        {
            get { return _lvlname; }
            set { _lvlname = value; }
        }

        public string lvlimg
        {
            get { return _lvlimg; }
            set { _lvlimg = value; }
        }

        public int? startscore
        {
            get { return _startscore; }
            set { _startscore = value; }
        }

        public int? endscore
        {
            get { return _endscore; }
            set { _endscore = value; }
        }

        public int? days
        {
            get { return _days; }
            set { _days = value; }
        }

        public int? hotels
        {
            get { return _hotels; }
            set { _hotels = value; }
        }

        public string lvlcomment
        {
            get { return _lvlcomment; }
            set { _lvlcomment = value; }
        }

        public string inuser
        {
            get { return _inuser; }
            set { _inuser = value; }
        }

        public DateTime? indate
        {
            get { return _indate; }
            set { _indate = value; }
        }

        public int? lvlcount
        {
            get { return _lvlcount; }
            set { _lvlcount = value; }
        }

        public byte levelclass
        {
            get { return _levelclass; }
            set { _levelclass = value; }
        }
        #endregion

       
    }
}
